import NotFound from './components/404.vue'

import subRouter from './router/subRouter'
let routes = [
	...subRouter,
	{
		path: '/404',
		component: NotFound,
		name: '',
		hidden: true
	},
	{
		path: '*',
		hidden: true,
		redirect: {
			path: '/404'
		}
	}
];

export default routes;